export interface ReqJoinRoom {
    roomId?: string;    // 可选，如果不提供则创建新房间
    gameMode?: string;  // 可选，游戏模式
}

export interface ResJoinRoom {
    roomId: string;
    players: {
        userId: string;
        nickname: string;
        ready: boolean;
    }[];
    gameMode: string;
    createTime: number;
} 